package com.example.clxy.service;

import com.example.clxy.entity.Specialty;
import com.example.clxy.result.PageResult;
import com.example.clxy.result.WebRestResult;
import com.example.clxy.result.business.PageResult.SpecialtyPageResult;

/**
 * @author Hsieh
 * @title: SpecialtyService
 * @projectName clxy
 * @description: TODO
 * @date 2020/8/139:55
 */
public interface SpecialtyService {
    WebRestResult addSpecialty(Specialty specialty);

    WebRestResult deleteSpecialty(String specialtyid);

    WebRestResult updateSpecialty(Specialty specialty);

    PageResult<SpecialtyPageResult> getSpecialtybyname(String specialtyname, int page, int pagesize);

    PageResult<SpecialtyPageResult> getSpecialtybyid(String specialtyid, int page, int pagesize);

    WebRestResult SpecialtybindWlclass(String specialtyid,String wlclassid);


}
